<%@ page language="java" import="java.util.*"  pageEncoding="UTF-8"%>
<%@ include file="../comm/tag.jsp" %>

<script>
	function userFormSubmit(){
		$.formSubmit('user_grid','${ctx}/user/save.do');
	}
</script>
<div class="grid_form_style">
	<form id="user_grid_form" method="post">
		<div>
			<input type="hidden" name="userId" value="${user.userId }"/>
			<label for="userName">用户名</label>
			<input type="text" class="easyui-validatebox" required="true" name="userName"  value="${user.userName }"/>
			<label for="email">邮箱</label>
			<input type="text" class="easyui-validatebox" required="true" name="email"  value="${user.email }"/>
		</div>
		<div>
			<label for="loginName">登陆名</label>
			<input type="text" class="easyui-validatebox" required="true" name="loginName" value="${user.loginName }"/>
			<label for="loginPsw">登陆密码</label>
			<input type="text" class="easyui-validatebox" required="true" name="loginPsw" value="${user.loginPsw }"/>
		</div>
		<div>
			<label for="address">地址</label>
			<input type="text" class="easyui-validatebox" required="true" name="address" value="${user.address }"/>
			<label for="content">说明</label>
			<input type="text" class="easyui-validatebox" required="true" name="content" value="${user.content }"/>
		</div>
		<div>
			<a href="javascript:void(0)" class="easyui-linkbutton" onclick="userFormSubmit()"  iconCls='icon-ok'>提交</a>
			<a href="javascript:void(0);" class="easyui-linkbutton" onclick="$.closeWin('user_grid')" iconCls="icon-no">关闭</a>
		</div>
	</form>
</div>
